SlkUtilities.LogEvent Method

Formats a message using String.Format and writes to the event log.

Parent Type: SlkUtilities

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public static void LogEvent (
EventLogEntryType type,
string format,
params object[] args

)

Parameters

type

The type of the event log entry.

format

A string containing zero or more format items; for example, "An exception occurred: {0}". If there are no args provided, the format string is used without formatting.

args

Formatting arguments.